package com.wei.czz.common.vo.admin.roleMenu;

import com.wei.czz.common.tool.BaseEntity;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * Created by IntelliJ IDEA.
 *
 * @author wei
 * date: 2023-03-07 17:25:07
 * className: MenuRoleVo 菜单关联角色参数类
 * version: 1.0
 * description:
 */
@Getter
@Setter
public class MenuRoleVo extends BaseEntity {

    /**
     * 菜单主键
     */
    @NotNull(message = "菜单主键不能为空")
    private Long menuId;

    /**
     * 角色主键列表
     */
    @NotNull(message = "角色主键列表不能为空")
    private List<Long> roleIdList;

}
